package com.example.springboot.demo.service;

import com.example.springboot.demo.entity.User;

import java.util.List;

public interface UserService {
    int update(User user);

    List<User> listUser(Integer pageNum, Integer pageSize, String username);

    int deleteUser(int id);

    int countUser();

}
